package com.sg.model.app.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.io.Serial;
import lombok.experimental.Accessors;

import jakarta.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * 字典表1、标准与非标准周期类型都有实例，比如2月，5年，年，半年，季度，月，周，日
 *
 * @author xxx
 */
@Data
@Accessors(chain = true)
@TableName("oms_cycle_type_instance")  //3-4-03周期类型实例表
public class OmsCycleTypeInstance implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;
    
    
    /**
     * 周期类型实例ID 
     */
    @TableId(value = "cycle_type_instance_id", type = IdType.ASSIGN_UUID)
		@NotNull(message = "cycleTypeInstanceId不能为空")
    private String	 cycleTypeInstanceId;
    /**
     * 周期类型ID 
     */
    @TableField(value = "cycle_type_id")
		@NotNull(message = "周期类型ID不能为空")
		@Schema(description = "周期类型ID")
    private String	 cycleTypeId;
    /**
     * 周期类型实例标识 
     */
    @TableField(value = "cycle_type_instance_code")
		@NotNull(message = "周期类型实例标识不能为空")
		@Schema(description = "周期类型实例标识")
    private String	 cycleTypeInstanceCode;
    /**
     * 周期类型实例名称 
     */
    @TableField(value = "cycle_standard_name")
		@NotNull(message = "周期类型实例名称不能为空")
		@Schema(description = "周期类型实例名称")
    private String	 cycleStandardName;
    /**
     * 周期类型实例简称 
     */
    @TableField(value = "cycle_number_short_name")
		@NotNull(message = "周期类型实例简称不能为空")
		@Schema(description = "周期类型实例简称")
    private String	 cycleNumberShortName;
    /**
     * 排序 
     */
    @TableField(value = "order_number")
		@Schema(description = "排序")
    private Long	 orderNumber;
    /**
     * 主体生命周期 CURRENTLY_VALID:当前有效 EDITING:正在编辑 ARCHIVING:历史存档
     */
    @TableField(value = "subject_life_cycle")
		@NotNull(message = "主体生命周期不能为空")
		@Schema(description = "主体生命周期")
    private String	 subjectLifeCycle;
    /**
     * 是否存档 TRUE:是 FALSE:否
     */
    @TableField(value = "is_archive")
		@NotNull(message = "是否存档不能为空")
		@Schema(description = "是否存档")
    private String	 isArchive;
    /**
     * 操作人就职记录ID 
     */
    @TableField(value = "operation_induction_id")
		@NotNull(message = "操作人就职记录ID不能为空")
		@Schema(description = "操作人就职记录ID")
    private String	 operationInductionId;
    /**
     * 创建人就职记录ID 
     */
    @TableField(value = "create_induction_id")
		@NotNull(message = "创建人就职记录ID不能为空")
		@Schema(description = "创建人就职记录ID")
    private String	 createInductionId;
    /**
     * 发布人就职记录ID 
     */
    @TableField(value = "release_induction_id")
		@Schema(description = "发布人就职记录ID")
    private String	 releaseInductionId;
    /**
     * 存档人就职记录ID 
     */
    @TableField(value = "archive_induction_id")
		@Schema(description = "存档人就职记录ID")
    private String	 archiveInductionId;
    /**
     * 操作时间 
     */
    @TableField(value = "operate_time")
		@NotNull(message = "操作时间不能为空")
		@Schema(description = "操作时间")
    private Date	 operateTime;
    /**
     * 创建时间 
     */
    @TableField(value = "create_time")
		@NotNull(message = "创建时间不能为空")
		@Schema(description = "创建时间")
    private Date	 createTime;
    /**
     * 发布时间 
     */
    @TableField(value = "release_time")
		@Schema(description = "发布时间")
    private Date	 releaseTime;
    /**
     * 存档时间 
     */
    @TableField(value = "archive_time")
		@Schema(description = "存档时间")
    private Date	 archiveTime;
    /**
     * 是否作废 TRUE:是 FALSE:否
     */
    @TableField(value = "is_valid")
		@NotNull(message = "是否作废不能为空")
		@Schema(description = "是否作废")
    private String	 isValid;
    /**
     * 创建于空间ID 
     */
    @TableField(value = "space_id")
		@NotNull(message = "创建于空间ID不能为空")
		@Schema(description = "创建于空间ID")
    private String	 spaceId;
    /**
     * 创建于联盟应用ID 
     */
    @TableField(value = "app_id")
		@NotNull(message = "创建于联盟应用ID不能为空")
		@Schema(description = "创建于联盟应用ID")
    private String	 appId;
}
